Skip to main content
Glama

MCP Server Starter

by CoutinhoTTS

Generation module

Automatically rewrite variable values in files by matching properties from a given object. Designed to streamline updates in code files using the Model Context Protocol (MCP) standard.

Instructions

遍历工具返回的数组,将数组中每一项有 writeOptions: object、dir: string,两个属性。 需要将对象writeOptions的属性进行遍历,找到dir文件中对应的变量名。 匹配规则:变量名和writeOptions的属性名称相等。 匹配到了之后将dir中的变量值自动重写,使用writeOptions属性值覆盖,一定是自动重写。 For example: writeOptions示例 ``` javascript writeOptions:{subnaem:'用户管理'} ``` dir文件代码示例: ``` javascript const subnaem = ''; ``` 经过规则匹配之后,dir文件重写后应该是: ``` javascript const subnaem = '用户管理'; ```

Input Schema

NameRequiredDescriptionDefault
addressYes描述文件地址

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "address": { "description": "描述文件地址", "type": "string" } }, "required": [ "address" ], "type": "object" }
Install Server

Other Tools from MCP Server Starter

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoutinhoTTS/funi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server